projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece365e
)
Only cancel timer when it is non-nil
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 6 May 2015 20:15:45 +0000
(23:15 +0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 6 May 2015 20:15:54 +0000
(23:15 +0300)
* lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
timer when it is non-nil
(http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
lisp/cedet/pulse.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/pulse.el
b/lisp/cedet/pulse.el
index 67ad31a01c94039b926234af8f59d47f45a181ca..39ba13c33df8224f7c011b812a54b7ddda2cfa0d 100644
(file)
--- a/
lisp/cedet/pulse.el
+++ b/
lisp/cedet/pulse.el
@@
-215,9
+215,10
@@
Optional argument FACE specifies the face to do the highlighting."
(setq pulse-momentary-overlay nil)
;; Reset the pulsing face.
- (pulse-reset-face)
+ (pulse-reset-face)
)
- ;; Cancel the timer.
+ ;; Cancel the timer.
+ (when pulse-momentary-timer
(cancel-timer pulse-momentary-timer))
;; Remove this hook.